package com.simas.common;

import net.rim.device.api.ui.UiApplication;
import net.rim.device.api.ui.container.MainScreen;

import com.simas.screen.LoginScreen;

public class OpenLoginScreen {
	int lIntIndex;
	
	public OpenLoginScreen() {
		
	}
	
	public void fnOpenLoginScreen(MainScreen mainScreen, int intIndex) {
		this.lIntIndex = intIndex;
		UiApplication.getUiApplication().popScreen(mainScreen);
		LoginScreen nls = new LoginScreen(lIntIndex);
		UiApplication.getUiApplication().pushScreen(nls);
	}
}
